ChinaPayments\Migration S

Total Complexity 44
Dependencies 2
Dependents 3
Total lines 237
Lines of code 148
Logical lines of code 94
Comment lines 10
Methods 13
Properties 8

Methods 13

Method Rating Maintainability Complexity Lines of code
_migrate_to_version()
A
49 8 30
fix_table_structure()
S
54 6 21
_plugin_activation_hook()
S
56 6 18
migrate_to_version()
S
57 5 14
is_valid_table_structure()
S
62 4 11
setup()
S
66 3 8
get_current_migration_version()
S
69 3 6
get_table_structure()
S
58 1 19
instance()
S
73 2 5
can_run_in_background()
S
74 2 5
handle_migration_in_background()
S
72 2 5
get_table_list()
S
80 1 3
is_migration_required()
S
79 1 3